#include <iostream>
using namespace std;
class Rectangle
{
    int width, height;

public:
    Rectangle(int w = 0, int h = 0);
    int getWidth() const;
    void setWidth(int w);
    int getHeight() const;
    void setHeight(int h);
};

inline Rectangle::Rectangle(int w = 0, int h = 0) : width(w), height(h)
{
}

inline int getWidth() const
{
    return width;
}
inline void setWidth(int w)
{
    width = w;
}
inline int getHeight() const
{
    return height;
}
inline void setHeight(int h)
{
    height = h;
}
